/* *****************************************************************************
 * JFab (http://code.google.com/p/jfab)
 * Copyright (c) 2011 JFab.org
 * Admin jfab@jeffreythompson.net
 *
 * See the file "LICENSE.txt" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 * *****************************************************************************/

package org.jfab.core.builder;

import org.jfab.core.model.Converter;
import org.jfab.core.model.JUnitTest;
import org.jfab.core.model.SimulatedData;

/**
 * Provides a standard, immutable group of builders.
 */
public final class BuilderGroup
{
    /** Converter class builder. */
    private final CGClassBuilder<Converter> _converterClassBuilder;

    /** JUnit test class builder. */
    private final CGClassBuilder<JUnitTest> _jUnitTestClassBuilder;

    /** Simulated data class builder. */
    private final CGClassBuilder<SimulatedData> _simulatedDataClassBuilder;

    /**
     * Construct this object with the given parameter.
     * 
     * @param converterClassBuilder Converter class builder.
     * @param jUnitTestClassBuilder JUnit test class builder.
     * @param simulatedDataClassBuilder Simulated data class builder.
     */
    public BuilderGroup(final ConverterCGClassBuilder converterClassBuilder,
            final JUnitTestCGClassBuilder jUnitTestClassBuilder,
            final SimulatedDataCGClassBuilder simulatedDataClassBuilder)
    {
        _converterClassBuilder = converterClassBuilder;
        _jUnitTestClassBuilder = jUnitTestClassBuilder;
        _simulatedDataClassBuilder = simulatedDataClassBuilder;
    }

    /**
     * @return the converterClassBuilder
     */
    public final CGClassBuilder<Converter> getConverterClassBuilder()
    {
        return _converterClassBuilder;
    }

    /**
     * @return the jUnitTestClassBuilder
     */
    public final CGClassBuilder<JUnitTest> getJUnitTestClassBuilder()
    {
        return _jUnitTestClassBuilder;
    }

    /**
     * @return the simulatedDataClassBuilder
     */
    public final CGClassBuilder<SimulatedData> getSimulatedDataClassBuilder()
    {
        return _simulatedDataClassBuilder;
    }
}
